package com.pap.obj.vo.response.errorcode;

import com.pap.obj.vo.base.ICommonEnum;

public enum ErrorCodeEnum implements ICommonEnum {

	/**
	 * 操作成功
	 */
    SUCCESS("200", "操作成功"), 
    /**
     * 操作异常 
     */
    EXCEPTION("210", "操作异常"),
    /**
     * 参数校验失败
     */
    VALIDFAIL("600", "参数校验失败");

    private String key;
    private String value;

    
    private ErrorCodeEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public String getKey() {
        return key;
    }

    @Override
    public void setKey(String key) {
        this.key = key;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public void setValue(String value) {
        this.value = value;
    }

}
